home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / linux-ab.1 / linux-abuse.1.1.0.tar / abuse-1.10 / net.doc < prev    next >
Text File  |  1995-10-23  |  3KB  |  98 lines

  1.  
  2.  
  3. ABUSE networking :
  4.  
  5.   ABUSE works as client/server.  This means one player runs as a
  6. server and all others run as clients.  The server player will pick
  7. they game that all other players will play when they join in.  This is
  8. done by starting up with the -lsf option.
  9.  
  10.  
  11. Starting a server :
  12. ----------------------------------------------------
  13. abuse -lsf lisp/deathmat.lsp            (death match abuse, every man to himself)
  14. abuse -lsf addon/bgames/chess.lsp
  15. abuse -lsf addon/bgames/checkers.lsp
  16. abuse -lsf addon/bgames/connect4.lsp
  17. abuse -lsf addon/bgames/othello.lsp
  18. abuse -lsf addon/pong/pong.lsp
  19.  
  20.  
  21. Sometimes a port may remain bound from a previous game, or be in use
  22. by another program in which case the message "net driver : could not
  23. bind socket to port 20202" will be displayed.  You should specify an
  24. alternate port to use as follows 
  25.  
  26. abuse -lsf lisp/deathmat.lsp -port 4000
  27.  
  28. where 4000 is any abritrary number.
  29.  
  30.  
  31.  
  32.  
  33.  
  34. Connecting to a server :
  35. ----------------------------------------------------
  36. abuse -net somewhere.someplace.net
  37.  
  38. Note : do not specify a -lsf, this information is automatically
  39. obtained when connecting to a server.  The load time of a game will be
  40. considerably faster if you have all the same files as the server,
  41. however if you don't you will automatically download the files you
  42. don't have  If you are playing over a slow network this may take a
  43. long time.
  44.  
  45.   If the server is not running on the standard port 20202 then you
  46. must specify the port in the server name as follows :
  47.  
  48. abuse -net somewhere.someplace.net:4000
  49.  
  50.   where 4000 is the port number the server is using.
  51.  
  52.  
  53.  
  54. Running a stand-alone fileserver
  55. ----------------------------------------------------
  56.  
  57. bash:/root/abuse/> undrv
  58.  
  59. (All files in the dir tree /root/abuse/* will be avialable to
  60. anyone from this point on).  If you wish to make ALL files available
  61. to everyone say :
  62.  
  63. bash:/root/abuse/> undrv -bastard
  64.  
  65.   This is NOT recommended as there are many files on your system that
  66. outsiders should not be able to read (your mail, your password file,
  67. etc).  You should also be sure that there are no symbolic links to
  68. sensative files/directories within the sub-dir tree where you run
  69. abuse/undrv.
  70.  
  71.  
  72. Programming with the ABUSE file system :
  73. ----------------------------------------------------
  74.  
  75.   Filenames can specify not only the directory and filename where is a file is,
  76. but also host.  Example
  77.  
  78. (def_sound "//somewhere.someplace.net:4000/sfx/save05.wav")
  79.  
  80.   this will fetch the file save05.wav from the server
  81. somewhere.someplace.net (connecting on port 4000) in the directory
  82. sfx/ (from the root directory where the file server/abuse server was
  83. run).
  84.  
  85.   Note : if the server is not running at this host the engine will pretend the
  86. file does not exsists.
  87.  
  88.  
  89.  
  90.  
  91.  
  92. Problems
  93. -----------------------------------------------------
  94.  
  95. make sure you have the files :
  96.   undrv, keydrv, (lnx_sdrv or sgi_sdrv) in you PATH.
  97.  
  98.